/*
Modified WOO Camera by Mondkalb (Modified by MrCash2009)

Contact me (Mondkalb) via E-Mail:
CEO@mondkalb.org
*/

call compile preprocessFileLineNumbers "cScripts\_cameraApps\Warfare_Cam\InterfaceControl.sqf";

//local stuff
MBG_WOO_CREATEDISTANCE = 10;
MBG_WOO_Zoomlevel = 0.5;
MBG_WOO_CURRENT_SELECTED_GROUP = group Player;
MBG_WOO_CUR_SEL_BUILDING = player;
MBG_WOO_ControlsALT = false;
MBG_WOO_ControlsSHIFT = false;
MBG_WOO_ControlsCONTROL = false;
MBG_WOO_nvg = false;
MBG_WOO_RMB = false;
MBG_WOO_LMB = false;
MBG_WOO_OpenOverviewList = false;
MBG_WOO_CamDist = -30;
MBG_WOO_CamHeight = 30;
MBG_WOO_CamDistDEF = MBG_WOO_CamDist;
MBG_WOO_CamHeightDEF = MBG_WOO_CamHeight;

{[_x] call MBG_WOO_FUNC_Refresh_Resource_Display;} foreach MBG_WOO_GLOBAL_TOTAL_POINTS_NEUTRAL;

player sidechat "Warfare Camera Initialised";

VRC addaction [format ["<t color='#FFFFAA'>Warfare Camera</t>"], "cScripts\_cameraApps\Warfare_Cam\MainInterface.sqf", [VRC], 1, false, true, "teamSwitchPrev", "_target == VRC"];